home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Technotools
/
Technotools (Chestnut CD-ROM)(1993).ISO
/
os2tools
/
ahatch21
/
ahatch.doc
< prev
Wrap
Text File
|
1992-10-16
|
7KB
|
178 lines
- AHATCH version 2.1 -
┌──────────────────────────────────────┐
│ ╔════════╗ │
│ ║ AHATCH ║ │
│ ╚════════╝ │
│ - Automated Hatch procedure - │
│ │
│ Version 2.1, October 16 1992 │
│ │
│ by Marcel Stikkelman │
│ │
└──────────────────────────────────────┘
AHATCH
======
AHATCH provides an easy and fast way to hatch (Tick release
utility) a number of files from a FILES.BBS file into a Tick
area. Since AHATCH is an OS/2 REXX procedure source is
provided.
USAGE
=====
┌────────────────┐
V │
AHATCH ─ area ───┬────────────┬─┴─┬───────┬─┬──────┬─┤
├── /Ccfg ───┤ └ drive ┘ └ path ┘
├── /Ttmp ───┤
├── /Bfbbs ──┤
├── /Ddup ───┤
├── /R ──────┤
└── /Ffile ──┘
Where:
area = Tick area name
/Ccfg = the name and location of the Tick/Hatch config file
default will be that of Hatch itself (current dir)
/Ttmp = the name and location of the temporary ahatch file
default will be AHATCH.TMP in the current dir
/Bfbbs = the name of FILES.BBS, located in drive/path
/Ddup = file containing already released filenames;
dupcheck will not include file extension unless the
extension contains a (sequence-)number
/Ffile = one file to hatch from FILES.BBS (no path)
/R = use the Hatch replace file function, checks for
[R:file] at te beginning of the description, when
not used complete description is always used
drive = drive where file and FILES.BBS resides (default
current drive)
path = directory path where file and FILES.BBS resides
(default current path)
AHATCH will hatch all files that exist in the the current or
defined directory and those that are named in the FILES.BBS
(which resides in the same directory). Files will not be
- page 1 -
- AHATCH version 2.1 -
hatched if they already exist in the hatch target directory
(specified in the Tick configuration file), AHATCH will
disregard the file extension except when a number is found in
the extension of the hatchfile.
So: FILE1.ZIP is not hatched if FILE1.ARC or FILE1.123 exists,
FILE1.A03 is always hatched except when FILE1.A03 exists.
When a dupfile is given, AHATCH will also look in the dupfile
in the same way for duplicate filenames. The filename in the
dupfile must be the first one mentioned, so allowed is:
FILE1.ZIP
FILE2.A39 E43232F6
FILE3
FILE4.ABC [R:FILE4.OLD] File discriptions may be here too.
A hatched file will be moved from the directory where the file
was found to the directory of the Tick area, so next time
AHATCH will not hatch the file again.
Descriptions may be up to 255 characters long. AHATCH uses a
temporary file to do this (AHATCH.TMP) which is created in the
directory where AHATCH is started, to change the filename and
location, use the /T parameter.
Example (started from the TICK directory):
AHATCH OS2NEW /DDUPS\OS2NEW.DUP /R C:\FILE\FERNUP
Will release all files in C:\FILE\FERNUP into area OS2NEW.
Filenames that are found in the OS2NEW.DUP file are not
hatched, just like files that already exists the the OS2NEW
target directory (specified in TIC.CFG). Also when AHATCH finds
[R:<filename>] at the beginning of the description, the
<filename> will be passed on to Hatch as the replace file. The
[R:<filename>] part will be stripped from the description (only
when /R option is used!).
To release just one file just enter:
AHATCH OS2NEW /DDUPS\OS2NEW.DUP /FTHISONE.TXT C:\FILE\FERNUP
To start AHATCH from the (in this example) FERNUP directory:
AHATCH OS2NEW /CC:\TICK\TIC.CFG /DDUPS\OS2NEW.DUP
To make the location of the Tick configuration file permanent,
it is possible to edit AHATCH.CMD and put a full path in front
of the confdef filename, so using /C is not necessary anymore.
in this case the line:
confdef = "TIC.CFG" /* Hatch default config file */
has to be changed to:
confdef = "C:\TICK\TIC.CFG" /* Hatch default config file */
- page 2 -
- AHATCH version 2.1 -
SYSTEM REQUIREMENTS
===================
AHATCH has been tested on a IBM-PS/2 model 80 with OS/2 1.3.
It will probably work on most systems that run OS/2 version 1.2
(EE) and up with REXX installed. AHATCH calls HATCHP.EXE and
works with Hatch version 2.10
NOTICE
======
AHATCH may be distributed and used unmodified with this
documentation in non-commercial environments free of charge.
Contact the author when used in commercial environments.
Use AHATCH at your own risk only, the author can not be held
responsible for any damages.
Please let me know if I should take the time to develop AHATCH
any further. If you have any suggestions or comments, please
enter or send a message to:
Marcel Stikkelman
Sysop of: PC-Square, BBS of the PCPC
Zoetermeer
the Netherlands
Tel.: <INT>31-79-424107
FidoNet address 2:512/4
81:431/5
or in an appropriate echomail area if the message
is useful to other users and where you can find a
message from me.
AHATCH is free to use in non-commercial environments, but if
someone still has the urge to make a contribution feel free to
do so:
M. Stikkelman
ABN-AMRO bank-account-number 47.35.94.412
or GIRO 5152402
Zoetermeer
the Netherlands.
UPDATE HISTORY
==============
Version Date Changes
------- -------- --------------------------------
2.0 05-05-92 first general release
2.1 10-16-92 added replace /R function
- page 3 -